/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.click.app.service.impl;

import com.click.app.dao.StorageProductDao;
import com.click.app.model.StorageProduct;
import com.click.app.service.StorageProductManager;
import java.util.List;

/**
 *
 * @author orgale
 */
public class StorageProductManagerImpl extends GenericManagerImpl<StorageProduct, Long>
                                        implements StorageProductManager {
    StorageProductDao productReturnDao;

    public StorageProductManagerImpl(StorageProductDao productReturnDao) {
        super(productReturnDao);
        this.productReturnDao = productReturnDao;
    }

    public List<StorageProduct> findByIdProduct(Long idProduct){
        return productReturnDao.findByIdProduct(idProduct);
    }
    public List<StorageProduct> findByIdProductNoCero(Long idProduct){
        return productReturnDao.findByIdProductNoCero(idProduct);
    }
}
